JavaScript

A5.ControlBarinitializeItems Method

Syntax

A5.ControlBar.initializeItems()

Description

Initialize items in the control bar. This is automatically called when the control bar is created. If item definitions are changed after creation, A5.ControlBar.initializeItems must be called in order for the changes to take effect.

Example

// assume cbObj is a pointer to an instance of A5.ControlBar
cbObj.items['action1'].settings.html = 'Choose Action'; // change a value in an item in the control bar
cbObj.initializeItems(); // re-initialize items
cbObj.refresh(); // refresh the control bar